package com.ita.shoppingcart.cart;

import java.util.List;
import java.util.Map;

import com.ita.shoppingcart.bean.Goods;

public interface CartManager {
	public Map<Integer, Goods> pushToCart(int id,Map<Integer, Goods> cart);
	public List<Goods> showCart(Map<Integer, Goods> cart);
	public Map<Integer, Goods> removeFromCart(int id,Map<Integer, Goods> cart);
	public int goodsCount(Map<Integer, Goods> cart);
	public double goodsTotal(Map<Integer, Goods> cart);
}
